package cn.btks.resultintegration.rule.repository;

import cn.btks.resultintegration.rule.pojo.Ylxzbb;
import cn.btks.resultintegration.rule.pojo.Yswrwhdlzb;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author lijun
 * @Date 2021/10/15 15:12
 */
@Repository
public interface YlxzbbRepository extends JpaRepository<Ylxzbb,Long>, JpaSpecificationExecutor<Ylxzbb> {

    /**
     * 查询所有
     * @return
     */
    @Query(value = "select * from ylxzbb",nativeQuery = true)
    List<Ylxzbb> findAll();
}
